<template lang="pug">
  .logo(@click="goToHome")
    .gem
    p webgems.io
</template>

<script>
export default {
  methods: {
    goToHome() {
      this.$router.push('/')
    },
  },
}
</script>


<style lang="scss" scoped>
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;

  &:hover {
    cursor: pointer;
  }
  .gem {
    background-image: url();
    background-size: cover;
    width: 35px;
    height: 35px;
  }
  p {
    margin: 0 0 0 0.3rem;
    font-size: 14px;
  }
}
</style>
